<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>LayIM测试</title>
<link rel="stylesheet" href="../layui/css/layui.css" />
</head>
<body>
<script src="../layui/layui.js"></script>
<script src="../layui/lay/modules/layim.js"></script>
<script>

  //先来个客服模式压压精
  layim.config({
    brief: true //是否简约模式（如果true则不显示主面板）
  }).chat({
    name: '客服姐姐'
    ,type: 'friend'
    ,avatar: 'http://tp1.sinaimg.cn/5619439268/180/40030060651/1'
    ,id: -2
  });

</script>
</body>
</html>